package com.cw.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cw.common.R;
import com.cw.entity.dto.DishDto;
import com.cw.entity.Dish;

import javax.servlet.http.HttpServletRequest;


public interface DishService extends IService<Dish> {
    R updateWithFlavor(DishDto dishDto);

    DishDto getByIdWithFlavor(Long id);

    void saveWithFlavors(DishDto dishDto, HttpServletRequest request);
}
